#print(dir(str))
'''
# join()函数
list_val = ['www','baidu','com']
str_val = '.'.join(list_val)
print(str_val)

tuple = ('Users','andy','code')
str_val = '/'.join(tuple)
print(str_val)
'''

# 大小写转换
string_val = 'I love Python'
print(string_val.upper())
print(string_val.lower())
print(string_val.title())
print(string_val.capitalize())
print(string_val.swapcase())
